	format	ELF
	extrn	__bb_appstub_appstub
	extrn	__bb_blitz_blitz
	extrn	__bb_bmploader_bmploader
	extrn	__bb_d3d7max2d_d3d7max2d
	extrn	__bb_data_data
	extrn	__bb_directsoundaudio_directsoundaudio
	extrn	__bb_dxgraphics_dxgraphics
	extrn	__bb_eventqueue_eventqueue
	extrn	__bb_freeaudioaudio_freeaudioaudio
	extrn	__bb_freejoy_freejoy
	extrn	__bb_freeprocess_freeprocess
	extrn	__bb_freetypefont_freetypefont
	extrn	__bb_glew_glew
	extrn	__bb_glgraphics_glgraphics
	extrn	__bb_glmax2d_glmax2d
	extrn	__bb_gnet_gnet
	extrn	__bb_jpgloader_jpgloader
	extrn	__bb_macos_macos
	extrn	__bb_max2d_max2d
	extrn	__bb_maxlua_maxlua
	extrn	__bb_maxutil_maxutil
	extrn	__bb_oggloader_oggloader
	extrn	__bb_openalaudio_openalaudio
	extrn	__bb_pngloader_pngloader
	extrn	__bb_ramstream_ramstream
	extrn	__bb_reflection_reflection
	extrn	__bb_retro_retro
	extrn	__bb_tgaloader_tgaloader
	extrn	__bb_threads_threads
	extrn	__bb_timer_timer
	extrn	__bb_wavloader_wavloader
	extrn	__bb_win32_win32
	extrn	bbEmptyArray
	extrn	bbEmptyString
	extrn	bbEnd
	extrn	bbFloatToInt
	extrn	bbMilliSecs
	extrn	bbNullObject
	extrn	bbOnDebugEnterScope
	extrn	bbOnDebugEnterStm
	extrn	bbOnDebugLeaveScope
	extrn	bbStringClass
	extrn	bbStringConcat
	extrn	bbStringFromInt
	extrn	bbStringSlice
	extrn	brl_blitz_ArrayBoundsError
	extrn	brl_blitz_NullObjectError
	extrn	brl_filesystem_CloseFile
	extrn	brl_filesystem_DeleteFile
	extrn	brl_filesystem_LoadDir
	extrn	brl_filesystem_StripExt
	extrn	brl_filesystem_WriteFile
	extrn	brl_pixmap_LoadPixmap
	extrn	brl_pixmap_ReadPixel
	extrn	brl_random_Rnd
	extrn	brl_random_SeedRnd
	extrn	brl_standardio_Print
	extrn	brl_stream_WriteByte
	extrn	brl_stream_WriteInt
	public	_bb_main
	public	bb_f
	public	bb_getenergy
	public	bb_getenergy_
	public	bb_getpatch
	public	bb_o
	public	bb_p0
	public	bb_p1
	public	bb_p2
	public	bb_p3
	public	bb_writepatch
	public	bb_x
	public	bb_y
	section	"code" executable
_bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	cmp	dword [_98],0
	je	_99
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_99:
	mov	dword [_98],1
	mov	dword [ebp-4],0
	push	ebp
	push	_79
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	call	__bb_blitz_blitz
	call	__bb_wavloader_wavloader
	call	__bb_glgraphics_glgraphics
	call	__bb_gnet_gnet
	call	__bb_freeaudioaudio_freeaudioaudio
	call	__bb_ramstream_ramstream
	call	__bb_reflection_reflection
	call	__bb_retro_retro
	call	__bb_timer_timer
	call	__bb_max2d_max2d
	call	__bb_threads_threads
	call	__bb_jpgloader_jpgloader
	call	__bb_maxutil_maxutil
	call	__bb_bmploader_bmploader
	call	__bb_d3d7max2d_d3d7max2d
	call	__bb_dxgraphics_dxgraphics
	call	__bb_maxlua_maxlua
	call	__bb_oggloader_oggloader
	call	__bb_openalaudio_openalaudio
	call	__bb_data_data
	call	__bb_glmax2d_glmax2d
	call	__bb_tgaloader_tgaloader
	call	__bb_directsoundaudio_directsoundaudio
	call	__bb_eventqueue_eventqueue
	call	__bb_appstub_appstub
	call	__bb_freetypefont_freetypefont
	call	__bb_pngloader_pngloader
	call	__bb_glew_glew
	call	__bb_win32_win32
	call	__bb_freejoy_freejoy
	call	__bb_macos_macos
	call	__bb_freeprocess_freeprocess
	push	_52
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_7
	call	brl_filesystem_DeleteFile
	add	esp,4
	push	_54
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	call	bbMilliSecs
	push	eax
	call	brl_random_SeedRnd
	add	esp,4
	push	_55
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_56
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_58]
	and	eax,1
	cmp	eax,0
	jne	_59
	push	1
	push	_8
	call	brl_filesystem_LoadDir
	add	esp,8
	inc	dword [eax+4]
	mov	dword [bb_f],eax
	or	dword [_58],1
_59:
	push	_60
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_58]
	and	eax,2
	cmp	eax,0
	jne	_62
	push	_7
	call	brl_filesystem_WriteFile
	add	esp,4
	inc	dword [eax+4]
	mov	dword [bb_o],eax
	or	dword [_58],2
_62:
	push	_63
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	1024
	push	dword [bb_o]
	call	brl_stream_WriteInt
	add	esp,8
	push	_64
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	256
	push	dword [bb_o]
	call	brl_stream_WriteInt
	add	esp,8
	push	_65
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	dword [bb_o]
	call	brl_stream_WriteInt
	add	esp,8
	push	_66
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	dword [bb_o]
	call	brl_stream_WriteInt
	add	esp,8
	push	_67
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-4],0
	jmp	_69
_11:
	push	_70
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_71
	push	_12
	mov	eax,dword [ebp-4]
	add	eax,1
	push	eax
	call	bbStringFromInt
	add	esp,4
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_standardio_Print
	add	esp,4
	push	_72
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	4
	push	dword [bb_o]
	call	bb_getpatch
	add	esp,8
_9:
	add	dword [ebp-4],1
_69:
	cmp	dword [ebp-4],1023
	jle	_11
_10:
	push	_73
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-4],0
	jmp	_74
_15:
	push	_75
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_71
	push	_12
	mov	eax,dword [ebp-4]
	add	eax,1024
	add	eax,1
	push	eax
	call	bbStringFromInt
	add	esp,4
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_standardio_Print
	add	esp,4
	push	_76
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	8
	push	dword [bb_o]
	call	bb_getpatch
	add	esp,8
_13:
	add	dword [ebp-4],1
_74:
	cmp	dword [ebp-4],255
	jle	_15
_14:
	push	_77
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [bb_o]
	call	brl_filesystem_CloseFile
	add	esp,4
	push	_78
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	call	bbEnd
	mov	ebx,0
	jmp	_33
_33:
	call	dword [bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
bb_getpatch:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],bbNullObject
	mov	dword [ebp-20],bbEmptyString
	fldz
	fstp	qword [ebp-28]
	push	ebp
	push	_122
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	push	_100
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [bb_f]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp+-32],eax
	fild	dword [ebp+-32]
	sub	esp,8
	fstp	qword [esp]
	fldz
	sub	esp,8
	fstp	qword [esp]
	call	brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	bbFloatToInt
	add	esp,8
	mov	dword [ebp-12],eax
	push	_102
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [bb_f]
	cmp	ebx,dword [eax+20]
	jb	_104
	call	brl_blitz_ArrayBoundsError
_104:
	mov	eax,dword [bb_f]
	push	dword [eax+ebx*4+24]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-16],eax
	push	_106
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [bb_f]
	cmp	ebx,dword [eax+20]
	jb	_108
	call	brl_blitz_ArrayBoundsError
_108:
	mov	eax,dword [bb_f]
	push	dword [eax+ebx*4+24]
	call	brl_filesystem_StripExt
	add	esp,4
	mov	dword [ebp-20],eax
	push	_110
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+8]
	sub	eax,1
	push	eax
	push	0
	push	dword [ebp-20]
	call	bbStringSlice
	add	esp,12
	mov	dword [ebp-20],eax
	push	_111
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,bbNullObject
	jne	_113
	call	brl_blitz_NullObjectError
_113:
	mov	ebx,dword [ebp-16]
	cmp	ebx,bbNullObject
	jne	_115
	call	brl_blitz_NullObjectError
_115:
	push	dword [ebp-8]
	push	dword [ebp-20]
	call	bb_getenergy
	add	esp,8
	mov	edx,dword [esi+12]
	sub	edx,dword [ebp-8]
	sub	edx,1
	mov	eax,dword [ebx+16]
	sub	eax,dword [ebp-8]
	sub	eax,1
	imul	edx,eax
	mov	dword [ebp+-32],edx
	fild	dword [ebp+-32]
	fdivp	st1,st0
	fstp	qword [ebp-28]
	push	_117
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	fld	qword [ebp-28]
	fld	qword [_204]
	fxch	st1
	fucompp
	fnstsw	ax
	sahf
	setae	al
	movzx	eax,al
	cmp	eax,0
	jne	_118
	push	_119
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	bb_getpatch
	add	esp,8
	jmp	_120
_118:
	push	_121
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	push	dword [ebp-20]
	call	bb_writepatch
	add	esp,12
_120:
	mov	ebx,0
	jmp	_37
_37:
	call	dword [bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
bb_getenergy:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_132
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	push	_131
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_17
	push	dword [ebp-4]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_getenergy_
	add	esp,8
	fstp	qword [ebp-24]
	push	dword [ebp-8]
	push	_18
	push	dword [ebp-4]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_getenergy_
	add	esp,8
	fld	qword [ebp-24]
	faddp	st1,st0
	fstp	qword [ebp-24]
	fld	qword [ebp-24]
	fstp	qword [ebp-32]
	push	dword [ebp-8]
	push	_19
	push	dword [ebp-4]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_getenergy_
	add	esp,8
	fld	qword [ebp-32]
	faddp	st1,st0
	fstp	qword [ebp-32]
	fld	qword [ebp-32]
	fstp	qword [ebp-16]
	push	dword [ebp-8]
	push	_20
	push	dword [ebp-4]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bb_getenergy_
	add	esp,8
	fld	qword [ebp-16]
	faddp	st1,st0
	fstp	qword [ebp-16]
	fld	qword [ebp-16]
	fstp	qword [ebp-40]
	jmp	_41
_41:
	call	dword [bbOnDebugLeaveScope]
	fld	qword [ebp-40]
	mov	esp,ebp
	pop	ebp
	ret
bb_getenergy_:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],bbNullObject
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	fldz
	fstp	qword [ebp-32]
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	byte [ebp-4],0
	push	ebp
	push	_158
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	push	_134
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-16],eax
	push	_136
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,bbNullObject
	jne	_138
	call	brl_blitz_NullObjectError
_138:
	mov	eax,dword [ebx+12]
	sub	eax,dword [ebp-12]
	sub	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	bbFloatToInt
	add	esp,8
	mov	dword [ebp-20],eax
	push	_140
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,bbNullObject
	jne	_142
	call	brl_blitz_NullObjectError
_142:
	mov	eax,dword [ebx+16]
	sub	eax,dword [ebp-12]
	sub	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	bbFloatToInt
	add	esp,8
	mov	dword [ebp-24],eax
	push	_144
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	fldz
	fstp	qword [ebp-32]
	push	_146
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	esi,dword [ebp-12]
	sub	esi,1
	jmp	_148
_23:
	push	_150
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	mov	ebx,dword [ebp-12]
	sub	ebx,1
	jmp	_152
_26:
	push	_154
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	add	eax,dword [ebp-40]
	push	eax
	mov	eax,dword [ebp-20]
	add	eax,dword [ebp-36]
	push	eax
	push	dword [ebp-16]
	call	brl_pixmap_ReadPixel
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_156
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	fld	qword [ebp-32]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	movzx	edx,byte [ebp-4]
	mov	edx,edx
	imul	eax,edx
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	faddp	st1,st0
	fstp	qword [ebp-32]
_24:
	add	dword [ebp-40],1
_152:
	cmp	dword [ebp-40],ebx
	jle	_26
_25:
_21:
	add	dword [ebp-36],1
_148:
	cmp	dword [ebp-36],esi
	jle	_23
_22:
	push	_157
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	fld	qword [ebp-32]
	fstp	qword [ebp-48]
	jmp	_45
_45:
	call	dword [bbOnDebugLeaveScope]
	fld	qword [ebp-48]
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
bb_writepatch:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],bbNullObject
	mov	dword [ebp-24],bbNullObject
	mov	dword [ebp-28],bbNullObject
	mov	dword [ebp-32],bbNullObject
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],0
	mov	byte [ebp-4],0
	push	ebp
	push	_197
	call	dword [bbOnDebugEnterScope]
	add	esp,8
	push	_164
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_17
	push	dword [ebp-8]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-20],eax
	push	_166
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_18
	push	dword [ebp-8]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-24],eax
	push	_168
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_19
	push	dword [ebp-8]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-28],eax
	push	_170
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	push	_20
	push	dword [ebp-8]
	push	_16
	call	bbStringConcat
	add	esp,8
	push	eax
	call	bbStringConcat
	add	esp,8
	push	eax
	call	brl_pixmap_LoadPixmap
	add	esp,4
	mov	dword [ebp-32],eax
	push	_172
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,bbNullObject
	jne	_174
	call	brl_blitz_NullObjectError
_174:
	mov	eax,dword [ebx+12]
	sub	eax,dword [ebp-16]
	sub	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	bbFloatToInt
	add	esp,8
	mov	dword [ebp-36],eax
	push	_176
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,bbNullObject
	jne	_178
	call	brl_blitz_NullObjectError
_178:
	mov	eax,dword [ebx+16]
	sub	eax,dword [ebp-16]
	sub	eax,1
	mov	dword [ebp+-52],eax
	fild	dword [ebp+-52]
	sub	esp,8
	fstp	qword [esp]
	fld1
	sub	esp,8
	fstp	qword [esp]
	call	brl_random_Rnd
	add	esp,16
	sub	esp,8
	fstp	qword [esp]
	call	bbFloatToInt
	add	esp,8
	mov	dword [ebp-40],eax
	push	_180
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	mov	esi,dword [ebp-16]
	sub	esi,1
	jmp	_182
_29:
	push	_184
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],0
	mov	ebx,dword [ebp-16]
	sub	ebx,1
	jmp	_186
_32:
	push	_188
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	add	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [ebp-36]
	add	eax,dword [ebp-48]
	push	eax
	push	dword [ebp-20]
	call	brl_pixmap_ReadPixel
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_190
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	dword [ebp-12]
	call	brl_stream_WriteByte
	add	esp,8
	push	_191
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	add	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [ebp-36]
	add	eax,dword [ebp-48]
	push	eax
	push	dword [ebp-24]
	call	brl_pixmap_ReadPixel
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_192
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	dword [ebp-12]
	call	brl_stream_WriteByte
	add	esp,8
	push	_193
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	add	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [ebp-36]
	add	eax,dword [ebp-48]
	push	eax
	push	dword [ebp-28]
	call	brl_pixmap_ReadPixel
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_194
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	dword [ebp-12]
	call	brl_stream_WriteByte
	add	esp,8
	push	_195
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	add	eax,dword [ebp-44]
	push	eax
	mov	eax,dword [ebp-36]
	add	eax,dword [ebp-48]
	push	eax
	push	dword [ebp-32]
	call	brl_pixmap_ReadPixel
	add	esp,12
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_196
	call	dword [bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	push	dword [ebp-12]
	call	brl_stream_WriteByte
	add	esp,8
_30:
	add	dword [ebp-48],1
_186:
	cmp	dword [ebp-48],ebx
	jle	_32
_31:
_27:
	add	dword [ebp-44],1
_182:
	cmp	dword [ebp-44],esi
	jle	_29
_28:
	mov	ebx,0
	jmp	_50
_50:
	call	dword [bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" writeable align 8
	align	4
_98:
	dd	0
_80:
	db	"makepatchfile",0
_81:
	db	"n4",0
_82:
	db	"i",0
	align	4
_83:
	dd	bbStringClass
	dd	2147483647
	dd	4
	dw	49,48,50,52
_84:
	db	"n8",0
	align	4
_85:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	50,53,54
_86:
	db	"NUMPATCHES",0
	align	4
_71:
	dd	bbStringClass
	dd	2147483647
	dd	4
	dw	49,50,56,48
_87:
	db	"p0",0
_88:
	db	":brl.pixmap.TPixmap",0
	align	4
bb_p0:
	dd	bbNullObject
_89:
	db	"p1",0
	align	4
bb_p1:
	dd	bbNullObject
_90:
	db	"p2",0
	align	4
bb_p2:
	dd	bbNullObject
_91:
	db	"p3",0
	align	4
bb_p3:
	dd	bbNullObject
_92:
	db	"x",0
	align	4
bb_x:
	dd	0
_93:
	db	"y",0
	align	4
bb_y:
	dd	0
_94:
	db	"f",0
_95:
	db	"[]$",0
	align	4
bb_f:
	dd	bbEmptyArray
_96:
	db	"o",0
_97:
	db	":brl.stream.TStream",0
	align	4
bb_o:
	dd	bbNullObject
	align	4
_79:
	dd	1
	dd	_80
	dd	1
	dd	_81
	dd	_82
	dd	_83
	dd	1
	dd	_84
	dd	_82
	dd	_85
	dd	1
	dd	_86
	dd	_82
	dd	_71
	dd	4
	dd	_87
	dd	_88
	dd	bb_p0
	dd	4
	dd	_89
	dd	_88
	dd	bb_p1
	dd	4
	dd	_90
	dd	_88
	dd	bb_p2
	dd	4
	dd	_91
	dd	_88
	dd	bb_p3
	dd	4
	dd	_92
	dd	_82
	dd	bb_x
	dd	4
	dd	_93
	dd	_82
	dd	bb_y
	dd	4
	dd	_94
	dd	_95
	dd	bb_f
	dd	4
	dd	_96
	dd	_97
	dd	bb_o
	dd	2
	dd	_82
	dd	_82
	dd	-4
	dd	0
_53:
	db	"/home/spiglerg/Desktop/StandardModel/extract_c1/makepatchfile.bmx",0
	align	4
_52:
	dd	_53
	dd	21
	dd	1
	align	4
_7:
	dd	bbStringClass
	dd	2147483647
	dd	8
	dw	115,50,46,112,97,116,99,104
	align	4
_54:
	dd	_53
	dd	25
	dd	1
	align	4
_55:
	dd	_53
	dd	28
	dd	1
	align	4
_56:
	dd	_53
	dd	31
	dd	1
	align	4
_58:
	dd	0
	align	4
_8:
	dd	bbStringClass
	dd	2147483647
	dd	2
	dw	99,49
	align	4
_60:
	dd	_53
	dd	33
	dd	1
	align	4
_63:
	dd	_53
	dd	37
	dd	1
	align	4
_64:
	dd	_53
	dd	38
	dd	1
	align	4
_65:
	dd	_53
	dd	39
	dd	1
	align	4
_66:
	dd	_53
	dd	40
	dd	1
	align	4
_67:
	dd	_53
	dd	44
	dd	1
	align	4
_70:
	dd	_53
	dd	45
	dd	3
	align	4
_12:
	dd	bbStringClass
	dd	2147483647
	dd	1
	dw	47
	align	4
_72:
	dd	_53
	dd	47
	dd	3
	align	4
_73:
	dd	_53
	dd	50
	dd	1
	align	4
_75:
	dd	_53
	dd	51
	dd	3
	align	4
_76:
	dd	_53
	dd	53
	dd	3
	align	4
_77:
	dd	_53
	dd	58
	dd	1
	align	4
_78:
	dd	_53
	dd	60
	dd	1
_123:
	db	"getpatch",0
_124:
	db	"w",0
_125:
	db	"n",0
_126:
	db	"p",0
_127:
	db	"ff",0
_128:
	db	"$",0
_129:
	db	"en",0
_130:
	db	"d",0
	align	4
_122:
	dd	1
	dd	_123
	dd	2
	dd	_96
	dd	_97
	dd	-4
	dd	2
	dd	_124
	dd	_82
	dd	-8
	dd	2
	dd	_125
	dd	_82
	dd	-12
	dd	2
	dd	_126
	dd	_88
	dd	-16
	dd	2
	dd	_127
	dd	_128
	dd	-20
	dd	2
	dd	_129
	dd	_130
	dd	-28
	dd	0
	align	4
_100:
	dd	_53
	dd	67
	dd	3
	align	4
_102:
	dd	_53
	dd	69
	dd	3
	align	4
_16:
	dd	bbStringClass
	dd	2147483647
	dd	3
	dw	99,49,47
	align	4
_106:
	dd	_53
	dd	71
	dd	3
	align	4
_110:
	dd	_53
	dd	72
	dd	3
	align	4
_111:
	dd	_53
	dd	75
	dd	3
	align	4
_117:
	dd	_53
	dd	78
	dd	3
	align	8
_204:
	dd	0x0,0x4072c000
	align	4
_119:
	dd	_53
	dd	79
	dd	5
	align	4
_121:
	dd	_53
	dd	81
	dd	5
_133:
	db	"getenergy",0
	align	4
_132:
	dd	1
	dd	_133
	dd	2
	dd	_127
	dd	_128
	dd	-4
	dd	2
	dd	_124
	dd	_82
	dd	-8
	dd	0
	align	4
_131:
	dd	_53
	dd	90
	dd	3
	align	4
_17:
	dd	bbStringClass
	dd	2147483647
	dd	5
	dw	48,46,112,110,103
	align	4
_18:
	dd	bbStringClass
	dd	2147483647
	dd	5
	dw	49,46,112,110,103
	align	4
_19:
	dd	bbStringClass
	dd	2147483647
	dd	5
	dw	50,46,112,110,103
	align	4
_20:
	dd	bbStringClass
	dd	2147483647
	dd	5
	dw	51,46,112,110,103
_159:
	db	"getenergy_",0
_160:
	db	"j",0
_161:
	db	"k",0
_162:
	db	"r",0
_163:
	db	"b",0
	align	4
_158:
	dd	1
	dd	_159
	dd	2
	dd	_94
	dd	_128
	dd	-8
	dd	2
	dd	_124
	dd	_82
	dd	-12
	dd	2
	dd	_126
	dd	_88
	dd	-16
	dd	2
	dd	_92
	dd	_82
	dd	-20
	dd	2
	dd	_93
	dd	_82
	dd	-24
	dd	2
	dd	_129
	dd	_130
	dd	-32
	dd	2
	dd	_160
	dd	_82
	dd	-36
	dd	2
	dd	_161
	dd	_82
	dd	-40
	dd	2
	dd	_162
	dd	_163
	dd	-4
	dd	0
	align	4
_134:
	dd	_53
	dd	96
	dd	3
	align	4
_136:
	dd	_53
	dd	98
	dd	3
	align	4
_140:
	dd	_53
	dd	99
	dd	3
	align	4
_144:
	dd	_53
	dd	101
	dd	3
	align	4
_146:
	dd	_53
	dd	103
	dd	3
	align	4
_150:
	dd	_53
	dd	104
	dd	5
	align	4
_154:
	dd	_53
	dd	105
	dd	7
	align	4
_156:
	dd	_53
	dd	107
	dd	7
	align	4
_157:
	dd	_53
	dd	112
	dd	3
_198:
	db	"writepatch",0
	align	4
_197:
	dd	1
	dd	_198
	dd	2
	dd	_94
	dd	_128
	dd	-8
	dd	2
	dd	_96
	dd	_97
	dd	-12
	dd	2
	dd	_124
	dd	_82
	dd	-16
	dd	2
	dd	_87
	dd	_88
	dd	-20
	dd	2
	dd	_89
	dd	_88
	dd	-24
	dd	2
	dd	_90
	dd	_88
	dd	-28
	dd	2
	dd	_91
	dd	_88
	dd	-32
	dd	2
	dd	_92
	dd	_82
	dd	-36
	dd	2
	dd	_93
	dd	_82
	dd	-40
	dd	2
	dd	_161
	dd	_82
	dd	-44
	dd	2
	dd	_160
	dd	_82
	dd	-48
	dd	2
	dd	_162
	dd	_163
	dd	-4
	dd	0
	align	4
_164:
	dd	_53
	dd	118
	dd	3
	align	4
_166:
	dd	_53
	dd	119
	dd	3
	align	4
_168:
	dd	_53
	dd	120
	dd	3
	align	4
_170:
	dd	_53
	dd	121
	dd	3
	align	4
_172:
	dd	_53
	dd	123
	dd	3
	align	4
_176:
	dd	_53
	dd	124
	dd	3
	align	4
_180:
	dd	_53
	dd	126
	dd	3
	align	4
_184:
	dd	_53
	dd	127
	dd	5
	align	4
_188:
	dd	_53
	dd	129
	dd	7
	align	4
_190:
	dd	_53
	dd	130
	dd	7
	align	4
_191:
	dd	_53
	dd	132
	dd	7
	align	4
_192:
	dd	_53
	dd	133
	dd	7
	align	4
_193:
	dd	_53
	dd	135
	dd	7
	align	4
_194:
	dd	_53
	dd	136
	dd	7
	align	4
_195:
	dd	_53
	dd	138
	dd	7
	align	4
_196:
	dd	_53
	dd	139
	dd	7
